package com.ipay.wechat.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ipay.wechat.dao.BillsDao;
import com.ipay.wechat.pojo.Bills;
import com.ipay.wechat.pojo.BillsDetails;
import com.ipay.wechat.service.BillsService;

@Service("billsService")
public class BillsServiceImpl implements BillsService {
	@Autowired
	private BillsDao billsDao;
	@Override
	public Bills queryObject(){
		Bills bills=new Bills();
		return billsDao.queryObject(bills);
	}
	@Override
	public BillsDetails queryBillsDetails(int bills_id) {
		// TODO Auto-generated method stub
		return billsDao.queryBillsDetails(bills_id);
	}
}
